import Layout from "@/layout";

//商品管理
export default {
  path: "/commerce-goods",
  component: Layout,
  redirect: "noRedirect",
  children: [
    {
      path: "/commerce-goods-insert",
      name: "添加商品",
      hidden: true,
      component: () => import("@/views/commerce/goods/save"),
      meta: { title: "添加商品", icon: "dashboard", inner: true }
    },
    {
      path: "/commerce-goods-update",
      name: "编辑商品",
      hidden: true,
      component: () => import("@/views/commerce/goods/save"),
      meta: { title: "编辑商品", icon: "dashboard", inner: true }
    },
    {
      path: "/commerce-goods",
      name: "商品管理",
      component: () => import("@/views/commerce/goods/list.vue"),
      meta: { title: "商品管理", icon: "dashboard" }
    },
  ]
};
